Greatly influenced by family education and intercommunication with scholars on northwest research, Gong Zizhen developed a set of ideological system on northwest frontier under the turbulent domestic situation. 针对国内西北动荡的局势,爱国学者龚自珍致力于西北史地研究,在家学、朋友及国家时局的影响之下形成了一套完整的西北边防思想。